#pragma once

#ifdef ANDROID_NDK
	#include <sys/types.h>
#endif
#ifdef IPHONE_VERSION
	#include <sys/types.h>
#endif

// In earlier versions android ndk didn't support throwing exceptions. Now everything is fine.
#define TRUE_TEXT_THROW(expr) throw expr

#if defined(SAMSUNG_BADA) || defined(SAMSUNG_VERSION)
	#define GNU_STL
#endif

#ifdef GNU_STL

#include <string>

namespace std {
typedef std::basic_string<wchar_t> wstring;
}

#endif

namespace TrueText {
#ifdef _WIN32
typedef double fast_float;
#else
typedef float fast_float;
#endif

}